home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
os2
/
pyth_os2.zip
/
MAKEFILE.OS2
< prev
next >
Wrap
Text File
|
1994-06-02
|
3KB
|
87 lines
# Generated by Simon Johnston for OS2.
# This file is part of the zip file os2_32.zip which enables building
# of an OS2 32bit python interprester using the EMX 0.8h compiler,
# this being a port of GCC 2.5.7 for OS2.
#
# Any problems can be reported to skj@rb.icl.co.uk
#
########################################################################
# Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
# Amsterdam, The Netherlands.
#
# All Rights Reserved
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted,
# provided that the above copyright notice appear in all copies and that
# both that copyright notice and this permission notice appear in
# supporting documentation, and that the names of Stichting Mathematisch
# Centrum or CWI not be used in advertising or publicity pertaining to
# distribution of the software without specific, written prior permission.
#
# STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
# THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
# FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
########################################################################
# Toplevel Makefile for Python
# Substitutions by configure
srcdir= .
INSTALL= e:/emx/bin/install -c
# Install prefixes are treated specially by the configure script:
# it only changes these lines if it has received a --prefix=... or
# --exec-prefix-... command line option, or if it has figured out
# a value by searching for python in $PATH. Note that $(prefix) is
# also used when compiling config.c in Modules to set the default
# module search path, so if you change it later be sure to change it
# there too and rebuild.
# Install prefix for architecture-independent files
prefix= e:/emx
# Install prefix for architecture-dependent files
exec_prefix= ${prefix}
# Compiler options passed to subordinate makes
OPT= -O
# Subdirectories where to run make recursively
SUBDIRS= Parser Objects Python Modules
# Other subdirectories
SUBDIRSTOO= Include Lib Doc Misc Demo readline Grammar
# Files and directories to be distributed
DISTFILES= README ChangeLog $(CONFIGFILES)
DISTDIRS= $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy
DIST= $(DISTFILES) $(DISTDIRS)
# Default target
all: python.exe
# Build the interpreter
python.exe: Makefile
for %d in ($(SUBDIRS)) do $(MAKE) -C %d OPT="$(OPT)" all
# Install the interpreter
install: python.exe
$(INSTALL) python.exe $(exec_prefix)/bin/python.exe
mkdir $(prefix)/lib/python;
cp -r $(srcdir)/Lib/* $(prefix)/lib/python
# Sanitation targets -- clean leaves libraries, executables and tags
# files, which clobber removes those as well
localclean:
-rm -f core *~ [@,#]* *.old *.orig *.rej
clean: localclean
for %d in ($(SUBDIRS)) do $(MAKE) -C %d clean